package com.dingchw.singlemusic.define.response;

public enum ResponseStatusEnum {
    SUCCESS(1000,"执行成功"),
    FAIL(5000,"内部执行异常"),
    FORBIDEEN(4005,"无权限使用"),
    AUTHRIZATION(4003,"登录异常");

    private Integer code;
    private String message;

    ResponseStatusEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode(){
        return this.code;
    }

    public String getMessage(){
        return this.message;
    }
}
